package cn.lizemin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author lzm
 * @version 1.0
 * @description: 启动类
 * @date 2022/3/15 15:54
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigServer  //代表我是统一配置中心服务
//@ServletComponentScan(basePackages = "cn.lizemin.filters") 这个注解似乎可要可不要
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class,args);
    }
}
